
<div class="bglist">
	<div class="bglistq">
		<table cellspacing="1" cellpadding="6" class="tlist">
			<tr>
				<th>Id</th>
				<th>Data</th>
				<th>Autor</th>
				<th>Ocena</th>
				<th>Treść</th>
				<th>Akcje</th>
			</tr>
			<?php foreach( $this->list as $item ) { ?>
			<tr>
				<td><?php echo $item['com_id'] ?></td>
				<td><?php echo $item['date'] ?></td>
				<td><?php echo $item['author'] ?></td>
				<td><?php echo $item['rating'] ?></td>
				<td><?php echo $item['content'] ?></td>
				<td>
					<a href="<?php echo $this->baseUrl() ?>/cpcomments/edit/id/<?php echo $item['com_id'] ?>" class="edit">Edytuj</a>
				</td>
			</tr>
			<?php } ?>
		</table>
	</div>
</div>
<?php  echo $this->render('global/pager.phtml'); ?>